BuffEffect30 = BaseBuffEffect:new();
BuffEffect30.__index = BuffEffect30;

function BuffEffect30:new()
    local object = {};
    setmetatable(object, BuffEffect30);
    return object;
end

function BuffEffect30:action(fight,buff,...)
    local target = buff.target;
    local values = decodeJsonStrToTabel(buff.buffBean.f_Value);
    target.energy = target.energy + values[1];
    fightLog("[EFFECT]Fighter "..buff.target.fighterId.." Buff"..buff.modelId.." 触发杀死地方额外增加SP效果，增加SP："..values[1]);
    return EnumConst.IBuffEffect.SUCCESS;
end
